import request from '@/utils/request';

const fee = {
    /**
     * 可用的收款账户列表
     */
    async feeLogList(data: TypeFee.SearchData): Promise<TypeBase.JsonResult<TypeFee.LogList>> {
        return await request.post({
            url: '/fee/list',
            data,
        });
    },

    async feeTypeList(): Promise<TypeBase.JsonResult<TypeBase.ListResult<TypeFee.TypeItem[]>>> {
        return await request.post({
            url: '/fee/type',
        });
    },
}
export default fee;
